﻿<Window x:Class="SSG.DialogGroupName"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         WindowStartupLocation="CenterOwner"
        Title="Group name dialog" Height="90" Width="200" WindowStyle="ToolWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="Group name:" Margin="3,3,3,3" Grid.Row="0" Grid.Column="0"/>
        <TextBox x:Name="_groupName" MaxLength="25" Margin="3,3,3,3" Grid.Row="0" Grid.Column="1"/>
        <Button Content="OK" IsDefault="true" Margin="3,3,3,3" Grid.Row="1" Grid.Column="0" Click="OkClicked"/>
        <Button Content="Canel" IsCancel="true" Margin="3,3,3,3" Grid.Row="1" Grid.Column="1"/>
    </Grid>
</Window>
